﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using PayPalCheckoutSdk.Orders;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AppFramework.DinosaursParkMes.MaterialModel
{
    /// <summary>
    /// 物料-产品-图片表
    /// </summary>
    [Table("tb_materialproductimg")]
    public class MaterialProductImg : AuditedEntity<int>, ISoftDelete
    {
        /// <summary>
        /// 编号
        /// </summary>
        [Required, Display(Name = "编号")]
        public string Number { get; set; }

        /// <summary>
        /// 图片名称
        /// </summary>
        [Display(Name = "图片名称")]
        public string Filename { get; set; } = "物料图片";
        /// <summary>
        /// 图片路径
        /// </summary>
        [Required, Display(Name = "图片路径")]
        public string Filepath { get; set; }
        /// <summary>
        /// 图片类型
        /// </summary>1代表图片0代表附件
        [Display(Name = "图片类型")]
        public int? Filetype { get; set; }
        public bool IsDeleted { get; set; }
    }
}
